package com.xjtu.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class EditPassDto implements Serializable{
    @Min(value = 1,message = "id异常")
    private Integer id;
    @NotBlank(message = "密码不能为空")
    private String password;
}



